package com.vvlive.caibao.smartcity.utils;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
 * Created by Jieth on 2015/8/17.
 */
public class CallPhone {
    /**
     * @param context :context
     * @param phone:电话号码
     * */
    public static void callPhone(Context context,String phone){
        Intent intent = new Intent(Intent.ACTION_CALL);
        intent.setData(Uri.parse("tel:"+phone));
        context.startActivity(intent);
    }
}
